package photogcalc.common;

/** The program wide common constants.
 *
 * @author aokkonen
 */
public final class Constants {
    /** Application's name and screen title */
    public static final String TITLE = "Photog Calc";
    /** Application's version string */
    public static final String VERSION = "1.0.3-applet";
    /** Version's release date */
    public static final String RELEASE_DATE = "6.12.2010";

    public static final String COPYRIGHT =
            "Copyright © 2007–2010 Antti Okkonen";
    public static final String LICENSE =
            "Licensed under Apache License 2.0";

    /** text field default input is decimal numbers */
    public static final int DECIMAL=0;
    /** text field default input is characters */
    public static final int ANY=1;
    /** default value */
    public static final int DEFAULT=DECIMAL;

    public static final String DEFAULT_CAMERAFORMAT = "Four Thirds";
    public static final String DEFAULT_FOCALLENGTH = "24";
    public static final String DEFAULT_FSTOP = "4.0";
    public static final String DEFAULT_DISTANCE = "10";
    public static final String DEFAULT_ASA = "100/21°";

    /** Resource path */
    public static final String RESOURCE_PATH = "/global/";

    /** Image postfix */
    public static final String LIST_IMAGE_POSTFIX = "24.png";

    public static final boolean APPLET_MODE  = true;
    public static final boolean PROPERTIES_FORM = false;
    public static final boolean FSTOP_SLIDER = false;
    public static final boolean DISTANCE_SLIDER = false;
    public static final boolean FLENGTH_SLIDER = false;
}
